home *** CD-ROM | disk | FTP | other *** search
- -- card: 4865 from stack: in.02
- -- bmap block id: 3538
- -- flags: 4000
- -- background id: 2725
- -- name: craps game
- ----- HyperTalk script -----
- on opencard
- global bankroll,comingout,bettotal
- put "$" & 0 into word 1 of field "bankroll amount"
- put 0 into bankroll
- put "true" into comingout
- delete line 1 to 10 of field "bet info"
-
- put 0 into bettotal
- put bettotal into field "bet total"
- put " " into field "dice"
- hide bkgnd button "point4"
- hide bkgnd button "point5"
- hide bkgnd button "point6"
- hide bkgnd button "point8"
- hide bkgnd button "point9"
- hide bkgnd button "point10"
- end opencard
-
-
-
- -- part 16 (button)
- -- low flags: 00
- -- high flags: A000
- -- rect: left=16 top=271 right=328 bottom=73
- -- title width / last selected line: 65535
- -- icon id / first selected line: -15643 / 49893
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Quit Craps
- ----- HyperTalk script -----
- on mouseUp
- answer "What is Your Fancy?" with "Quit" or "New game"or "Cancel"
- if it="Quit" then
- visual effect dissolve
- go home
- end if
- if it = "New Game" then send "opencard" to card "craps game"
-
- end mouseUp
-
-
-
- -- part contents for background part 3
- ----- text -----
- 7
-
- -- part contents for background part 4
- ----- text -----
- 21
-
- -- part contents for background part 6
- ----- text -----
- Betting Info
-
- -- part contents for background part 27
- ----- text -----
- $129
-
- -- part contents for background part 5
- ----- text -----
- $0 on Pass Line
- $0 on Don't Pass